package com.business.business.web.mapper;

import cn.hutool.json.JSONObject;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.business.business.model.BusinessFiretraining;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface BusinessFiretrainingMapper extends BaseMapper<BusinessFiretraining> {


    Integer selectCount(JSONObject jsonParam);

    IPage<BusinessFiretraining> rulesandregulationsListPage(Page<BusinessFiretraining> page, @Param("param") JSONObject jsonParam);

    BusinessFiretraining firetrainingDetail(JSONObject jsonParam);

    Integer selectCounts(String businessId);
}
	